package org.jgs1904.oopbase.test.polymorphic;

/**
 * @author: 默苍璃
 * @date: 2022-09-13 16:40
 */
public class Student extends Person {

    @Override
    public String hello() {
        // 调用父类的hello()方法:
        super.hello1();
        return super.hello() + "!";
    }

    public String hello(String s) {
        // 调用父类的hello()方法:
        return super.hello() + "!";
    }


}